package com.ejd.web.bo;

import javax.faces.application.FacesMessage;
import javax.faces.model.SelectItem;

import com.ejd.service.IConsultationTypeService;
import com.ejd.utils.MessageFactory;
import com.ejd.utils.SpringFacesUtil;
import com.ejd.web.bo.impl.ConsultationType;
import com.ejd.web.bo.impl.Productunit;
import com.ejd.web.bo.impl.Stakeholder;
import com.ejd.web.constant.EjdConstants;
import com.ejd.web.constant.SpringBeanConstants;

/**
 * AbstractProduct entity provides the base persistence definition of the
 * Product entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractConsultation extends java.lang.Object implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String content;
	private String code;//for product
	private String name;
	private String primaryCategoryCode;
	private String secondCategoryCode;
	private Long productId;//for ID
	private java.sql.Timestamp askTime;
	private String typeCode;
	private String statusCode;//O 已回复,N未回复,R退回
	private boolean showOnPage;//true  显示, false 不显示
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPrimaryCategoryCode() {
		return primaryCategoryCode;
	}
	public void setPrimaryCategoryCode(String primaryCategoryCode) {
		this.primaryCategoryCode = primaryCategoryCode;
	}
	public String getSecondCategoryCode() {
		return secondCategoryCode;
	}
	public void setSecondCategoryCode(String secondCategoryCode) {
		this.secondCategoryCode = secondCategoryCode;
	}
	
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public java.sql.Timestamp getAskTime() {
		return askTime;
	}
	public void setAskTime(java.sql.Timestamp askTime) {
		this.askTime = askTime;
	}
	
	public String getTypeCode() {
		return typeCode;
	}
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	public String getStatusCode() {
		return statusCode;
	}
	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}
	public boolean isShowOnPage() {
		return showOnPage;
	}
	public void setShowOnPage(boolean showOnPage) {
		this.showOnPage = showOnPage;
	}
	public AbstractConsultation(){
		
	}
}